dict1 = {102: "张三", 105: "李四", 109: "王五"}
print(dict1[102])       # 查询

dict1[110] = "董六"       # 新增元素
print(dict1)

dict1[109] = "张三"       # 修改元素
print(dict1)

dict1.pop(102)      # 删除元素
print(dict1)

del dict1[105]      # del删除元素
print(dict1)

dict1.clear()       # 清空字典
print(dict1)